import React from 'react'
import { useStore } from "../store/index.js";
import { observer } from 'mobx-react-lite';
function bar() {
  const store = useStore()

  return (
    <div>
      <ul>
        {
          store.taskStore.list.map((item) => {
            return <li key={item}>{item}</li>;
          })
        }
      </ul>
    </div>
  )
}

export default observer(bar)